import java.util.Scanner;

public class 实心正方形 {
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入边长");
        int a=scanner.nextInt();
        int line = a;
        for (int i = 1;i <= line; i++){
            for (int j = 1;j <= line; j++){
                System.out.print("*");
            }System.out.println();
        }
    }
}
